import Vue from 'vue'
import Router from 'vue-router'
import HomeView from '@/views/home/index'
import Test from "@/components/test/Test";
Vue.use(Router)

const router = new Router({
    mode: 'history',
    base: '/automatic_summarization/',
    routes:[
        {
            path:'/',
            redirect:'/home'
        },
        {
            path: '/home',
            name: '主页',
            component: HomeView,
        },
        {
            path: '/test',
            name: '测试',
            component: Test,
        },
    ]
})

export default router
